package com.example.csupermaket.service;


import com.example.csupermaket.pojo.dto.AddressAddNewDTO;
import com.example.csupermaket.pojo.dto.AddressUpdateDTO;
import com.example.csupermaket.pojo.entity.Address;
import com.example.csupermaket.pojo.vo.AddressListItemVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IAddressService {

    void addNew(AddressAddNewDTO addressAddNewDTO);

    void deleteByAid(int aid);

    void update(int aid, AddressUpdateDTO addressUpdateDTO);

    int countByAid(int aid);

    List<AddressListItemVO> selectByUid(int uid);

}
